<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        body {
            width: 100%;
            height: 450px;
        }
        .container {
            width: 420px;
            margin: 20px auto;  
            display: flex;
            flex-direction: column;
            background: skyblue;
        }

        .container .item {
            margin: 10px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div id="firstName" class="item">
            <span>姓：xxx</span>
        </div>
        <div id="lastName" class="item">
            <span>名：xxx</span>
        </div>
        <div id="age" class="item">
            <span>年龄：30</span>
        </div>
    </div>

    <script src="./js/myVue.js"></script>
    <script src="./js/类实现方式.js"></script>
    <script src="./js/index.js"></script>
    
</body>
</html>